﻿using System;

namespace Model
{
    public class AgingInfo
    {
        private string agingID;
        private string assembleUserID;
        private string productTypeID;
        private int amount;
        private decimal timeSpec;
        private int tempSpec;
        private string agingStep;
        private string deviceName;
        private string attributes;
        private string department;
        private DateTime inBoxManuTime;
        private string inBoxManuUser;
        private DateTime inBoxQualTime;
        private string inBoxQualUser;
        private int inBoxQualAmount;
        private DateTime tempStartManuTime;
        private string tempStartManuUser;
        private DateTime tempStartQualTime;
        private string tempStartQualUser;
        private DateTime patrolManuTime;
        private string patrolManuUser;
        private DateTime patrolQualTime;
        private string patrolQualUser;
        private DateTime tempEndManuTime;
        private string tempEndManuUser;
        private DateTime tempEndQualTime;
        private string tempEndQualUser;
        private int tempEndQualAmount;
        private string isPass;

        public AgingInfo() { }

        //AgingID,AssembleUserID,ProductTypeID,Amount,TimeSpec,TempSpec,AgingStep,Attributes,Department

        public AgingInfo(string agingID, string assembleUserID, string productTypeID, int amount, decimal timeSpec, 
            int tempSpec, string agingStep, string attributes, string department)
        {
            this.agingID = agingID;
            this.assembleUserID = assembleUserID;
            this.productTypeID = productTypeID;
            this.amount = amount;
            this.timeSpec = timeSpec;
            this.tempSpec = tempSpec;
            this.agingStep = agingStep;
            this.attributes = attributes;
            this.department = department;
        }

        public AgingInfo(string agingID,string productTypeID,int amount,decimal timeSpec,int tempSpec,string agingStep,
            string deviceName, string attributes, string department, DateTime inBoxManuTime, string inBoxManuUser)
        {
            this.agingID = agingID;
            this.productTypeID = productTypeID;
            this.amount = amount;
            this.timeSpec = timeSpec;
            this.tempSpec = tempSpec;
            this.agingStep = agingStep;
            this.deviceName = deviceName;
            this.attributes = attributes;
            this.department = department;
            this.inBoxManuTime = inBoxManuTime;
            this.inBoxManuUser = inBoxManuUser;
        }

        public AgingInfo(string agingID, string productTypeID, int amount, decimal timeSpec, int tempSpec, string agingStep,
            string deviceName, string attributes, string department, DateTime inBoxManuTime, string inBoxManuUser, string isPass)
        {
            this.agingID = agingID;
            this.productTypeID = productTypeID;
            this.amount = amount;
            this.timeSpec = timeSpec;
            this.tempSpec = tempSpec;
            this.agingStep = agingStep;
            this.deviceName = deviceName;
            this.attributes = attributes;
            this.department = department;
            this.inBoxManuTime = inBoxManuTime;
            this.inBoxManuUser = inBoxManuUser;
            this.isPass = isPass;
        }
        
        public AgingInfo(string agingID, string assembleUserID, string productTypeID, int amount, decimal timeSpec, int tempSpec, string agingStep,
            string deviceName, string attributes, string department, DateTime inBoxManuTime, string inBoxManuUser, DateTime inBoxQualTime,
            string inBoxQualUser, int inBoxQualAmount, DateTime tempStartManuTime, string tempStartManuUser, DateTime tempStartQualTime,
            string tempStartQualUser, DateTime patrolManuTime, string patrolManuUser, DateTime patrolQualTime, string patrolQualUser,
            DateTime tempEndManuTime, string tempEndManuUser, DateTime tempEndQualTime, string tempEndQualUser,int tempEndQualAmount,
            string isPass)
        {
            this.agingID = agingID;
            this.assembleUserID = assembleUserID;
            this.productTypeID = productTypeID;
            this.amount = amount;
            this.timeSpec = timeSpec;
            this.tempSpec = tempSpec;
            this.agingStep = agingStep;
            this.deviceName = deviceName;
            this.attributes = attributes;
            this.department = department;
            this.inBoxManuTime = inBoxManuTime;
            this.inBoxManuUser = inBoxManuUser;
            this.inBoxQualTime = inBoxQualTime;
            this.inBoxQualUser = inBoxQualUser;
            this.inBoxQualAmount = inBoxQualAmount;
            this.tempStartManuTime = tempStartManuTime;
            this.tempStartManuUser = tempStartManuUser;
            this.tempStartQualTime = tempStartQualTime;
            this.tempStartQualUser = tempStartQualUser;
            this.patrolManuTime = patrolManuTime;
            this.patrolManuUser = patrolManuUser;
            this.patrolQualTime = patrolQualTime;
            this.patrolQualUser = patrolQualUser;
            this.tempEndManuTime = tempEndManuTime;
            this.tempEndManuUser = tempEndManuUser;
            this.tempEndQualTime = tempEndQualTime;
            this.tempEndQualUser = tempEndQualUser;
            this.tempEndQualAmount = tempEndQualAmount;
            this.isPass = isPass;
        }


        public string AgingID { get { return agingID; } set { agingID = value; } }
        public string AssembleUserID { get { return assembleUserID; } set { assembleUserID = value; } }
        public string ProductTypeID { get { return productTypeID; } set { productTypeID = value; } }
        public int Amount { get { return amount; } set { amount = value; } }
        public decimal TimeSpec { get { return timeSpec; } set { timeSpec = value; } }
        public int TempSpec { get { return tempSpec; } set { tempSpec = value; } }
        public string AgingStep { get { return agingStep; } set { agingStep = value; } }
        public string DeviceName { get { return deviceName; } set { deviceName = value; } }
        public string Attributes { get { return attributes; } set { attributes = value; } }
        public string Department { get { return department; } set { department = value; } }
        public DateTime InBoxManuTime { get { return inBoxManuTime; } set { inBoxManuTime = value; } }
        public string InBoxManuUser { get { return inBoxManuUser; } set { inBoxManuUser = value; } }
        public DateTime InBoxQualTime { get { return inBoxQualTime; } set { inBoxQualTime = value; } }
        public string InBoxQualUser { get { return inBoxQualUser; } set { inBoxQualUser = value; } }
        public int InBoxQualAmount { get { return inBoxQualAmount; } set { inBoxQualAmount = value; } }
        public DateTime TempStartManuTime { get { return tempStartManuTime; } set { tempStartManuTime = value; } }
        public string TempStartManuUser { get { return tempStartManuUser; } set { tempStartManuUser = value; } }
        public DateTime TempStartQualTime { get { return tempStartQualTime; } set { tempStartQualTime = value; } }
        public string TempStartQualUser { get { return tempStartQualUser; } set { tempStartQualUser = value; } }
        public DateTime PatrolManuTime { get { return patrolManuTime; } set { patrolManuTime = value; } }
        public string PatrolManuUser { get { return patrolManuUser; } set { patrolManuUser = value; } }
        public DateTime PatrolQualTime { get { return patrolQualTime; } set { patrolQualTime = value; } }
        public string PatrolQualUser { get { return patrolQualUser; } set { patrolQualUser = value; } }
        public DateTime TempEndManuTime { get { return tempEndManuTime; } set { tempEndManuTime = value; } }
        public string TempEndManuUser { get { return tempEndManuUser; } set { tempEndManuUser = value; } }
        public DateTime TempEndQualTime { get { return tempEndQualTime; } set { tempEndQualTime = value; } }
        public string TempEndQualUser { get { return tempEndQualUser; } set { tempEndQualUser = value; } }
        public int TempEndQualAmount { get { return tempEndQualAmount; } set { tempEndQualAmount = value; } }
        public string IsPass { get { return isPass; } set { isPass = value; } }
    }
}
